package com.example.qinghe.entity.meeting;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

@ApiModel("会议管理系统->会议类")
@Data
@Getter
@Setter
public class Meeting {
    @ApiModelProperty("会议id")
    private Long id;

    @ApiModelProperty("会议室编号，从会议室列表选择，返回会议室id")
    private Long meetingroomId;

    @ApiModelProperty("会议主持人，从员工表选择，返回id")
    private String meetingHost;

    @ApiModelProperty("会议标题")
    private String title;

    @ApiModelProperty("会议地址")
    private String meetingPlace;

    @ApiModelProperty("联系人，从员工表选择，返回id")
    private String contact;

    @ApiModelProperty("参会人,从员工表选择，返回id数组")
    private String attendees;

    @ApiModelProperty("会议文件")
    private String meetingData;

    @ApiModelProperty("演讲嘉宾")
    private String guestSpeakers;

    @ApiModelProperty("问卷")
    private String questionnaire;

    @ApiModelProperty("会议议程")
    private String agenda;

    //@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("开始时间,yyyy-MM-dd HH:mm")
    private Date startTime;

    //@DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm")
    @ApiModelProperty("结束时间,yyyy-MM-dd HH:mm")
    private Date endTime;

    private List<Mattendance> mattendanceList;

    private Meetingroom meetingroomInfo;

    public Long getMeetingroomId() {
        return meetingroomId;
    }


}
